#ifndef USERSERVICE_H
#define USERSERVICE_H

#include <QObject>
#include "CommonHelper/DBOper.h"
#include "Service/accountinfo.h"

class UserService : public QObject
{
    Q_OBJECT
public:
    explicit UserService();

    bool login(QString username, QString password, QString role);

    UserInfo userInfo(QString username);
};

#endif // USERSERVICE_H
